package com.exprecards.common.web;

import java.io.IOException;
import java.io.Serializable;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import javax.faces.context.FacesContext;

@ManagedBean(name = "menuBean")
@SessionScoped
public class MenuBean implements Serializable{

	
	private static final long serialVersionUID = 1L;

	public void go(String valor){
		
		try {
			FacesContext.getCurrentInstance().getExternalContext().redirect("/EXPRECARDS/portalWeb"+valor);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
